Link.render   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
1
import React from 'react';
2
import {NavLink} from "react-router-dom";
3
4
class Link extends React.Component {
5
    render() {
6
        return <NavLink exact to={this.props.url} className={this.props.className}  > {this.props.text} </NavLink>
7
    }
8
}
9
10
export default Link;